﻿using System.Configuration;

namespace DIX.Configuration
{
    public class DIXRepositoryElement : ConfigurationElement
    {
        #region CONSTANT
        
        public const string OBJECTS = "objects";

        #endregion

        #region PROPERTY
        
        [ConfigurationProperty(OBJECTS)]
        [ConfigurationCollection(typeof(DIXAddElement))]
        public DIXObjectsCollection Objects
        {
            get
            {
                return (DIXObjectsCollection)this[OBJECTS];
            }
            set
            {
                this[OBJECTS] = value;
            }
        }

        #endregion
    }
}
